//
//  Normal Trooper.h
//  DefenseSummoner
//
//  Created by vupham on 5/23/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GameCharacter.h"
#import "cocos2d.h"

@class PlayScreen;

@interface Enemy : GameCharacter{
    GameCharacter *opponent;
    int nextHeadingPoint;
    NSMutableArray *road;
    NSMutableArray *waypoint;
    BOOL fly;
    
    int moneyOnDie;
    BOOL reachSummoner;
}

@property (nonatomic) BOOL fly;
@property (nonatomic) int nextHeadingPoint;
@property (nonatomic,retain) GameCharacter *opponent;
@property (nonatomic) BOOL reachSummoner;

-(id)initEnemyWith:(GameLayer *)_gameLayer;
-(void)moveOnTheRoad;
-(BOOL)ifEnemyGotPastPoint:(CGPoint)_point;

-(void)runOverDestination;

-(CGPoint)getPositionAfterTime:(float)_time;
-(float)remainDistanceToDes;

-(void)battle;

@end
